export default class Book {
    source: '';

    constructor(id, title, author) {
        this.id = id;
        this.title = title;
        this.author = author;
    }

    toString() {
        console.log('《' + this.title + '》' + this.author);
    }
}
